package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockDrugDetail;
import com.zshan.clinic.database.model.StockDrugDetailExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockDrugDetailMapper extends SuperMapper {
    long countByExample(StockDrugDetailExample example);

    int deleteByExample(StockDrugDetailExample example);

    int deleteByPrimaryKey(Long detailId);

    int insert(StockDrugDetail row);

    int insertSelective(StockDrugDetail row);

    List<StockDrugDetail> selectByExample(StockDrugDetailExample example);

    StockDrugDetail selectByPrimaryKey(Long detailId);

    int updateByExampleSelective(@Param("row") StockDrugDetail row, @Param("example") StockDrugDetailExample example);

    int updateByExample(@Param("row") StockDrugDetail row, @Param("example") StockDrugDetailExample example);

    int updateByPrimaryKeySelective(StockDrugDetail row);

    int updateByPrimaryKey(StockDrugDetail row);
}